package com.jinzihan.service;

import com.jinzihan.entity.Classroom;
import com.jinzihan.entity.Order;
import com.jinzihan.entity.Page;

import java.util.List;

public interface OrderService {
    public void createOrder(Order order);

    public List<Order> myOrders(int StudentId);

    public List<Order> allOrders();

    public Classroom orderDetails(int orderId);

    public void acceptOrder(int orderId);

    public void refuseOrder(int orderId);

    public Page<Order> page(int pageNo, int pageSize);

    public Page<Order> myPage(int studentId, int pageNo, int pageSize);

    public Order queryOrderById(int id);
}
